function ajaxPost(url,data,sucCallback,errCallback){
  $.ajax(
		 {
			 type : "POST", 
			 url : url,
			 dataType : "json", 
			 contentType :"application/x-www-form-urlencoded;charset=UTF-8",
 		 	 data : data,
 			 success:function(msg)
 			  {
    	       if(msg.status == 1 && typeof sucCallback == "function")
    	    	   sucCallback(msg);
    	       else if(typeof errCallback == "function")
    	    	   errCallback(msg);
 			  },
 		     error:function(msg,status,throwable){
 		    	 console.log("处理失败！" + throwable);
 			  }
    	 
		 });
	}


function isBlank(val){
	if(typeof val == "undefined" || val == null || val.length == 0)
	   return true;
	else
	  return false;
}

function showStr(val){
	if(typeof val == "undefined"|| val == null || val.length == 0)
	  return "";
	else
	  return val;
}